package com.wenlin.myproduction.ui;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.wenlin.myproduction.R;
import com.wenlin.myproduction.base.BaseActivity;
import com.wenlin.myproduction.base.BaseSwipeActivity;
import com.wenlin.myproduction.util.ValCommon;
import com.wenlin.myproduction.widget.HistogramView;

import butterknife.BindView;

public class HistogramViewActivity extends BaseSwipeActivity {
    @BindView(R.id.hv)
    HistogramView hv;


    @Override
    public int getContentView() {
        return R.layout.activity_histogram_view;
    }

    public static void start(BaseActivity activity) {
        Intent intent = new Intent(activity, HistogramViewActivity.class);
        activity.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTitle(ValCommon.HISTOGRAM_VIEW);
        hv.setRandomData();
    }
}